package com.lanan.springboot.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

/**
 * @desc SiteConfig
 * @author lanan
 * @date 2022-04-30 21:52:56
 **/
@Configuration
@ConfigurationProperties(value = "site")
@Data
public class SiteConfig implements Serializable {

    private static final long serialVersionUID = -7632268193700036274L;

    private String datasourceDriver;
    private String datasourceUrl;
    private String datasourceUsername;
    private String datasourcePassword;
}
